package com.bsoft.gol.hcs.clinical.bean.response;


import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * @Description: 检验报告出参
 * @Author: zhaorb
 * @Date: 2020/12/18 14:55
 **/
@XmlRootElement(name = "Data")
public class ExamSkillReportDetailResp {
    private long total;
    private List<HospitalLabReport> list;

    @XmlElement(name = "Total")
    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }


    @XmlElementWrapper(name = "InspectionTestRecords")
    @XmlElement(name = "InspectionTestRecord")
    public List<HospitalLabReport> getList() {
        return list;
    }

    public void setList(List<HospitalLabReport> list) {
        this.list = list;
    }


    public static class HospitalLabReport {
        private String inspectId;
        private String inspectName;
        private String inspectTime;
        private String inspectStatus;
        private String reportTime;
        private String examTime;
        private String departmentCode;
        private String departmentName;
        private String doctorCode;
        private String doctorName;
        private String executeDepartmentCode;
        private String executeDepartmentName;
        private String reporter;
        private String auditor;
        private String hospitalName;
        private String orgId;
        private String source;
        private String sampleType;
        private String patientName;
        private String sex;
        private List<InspectionItemsBean> inspectionItems;

        @XmlElementWrapper(name = "TestResults")
        @XmlElement(name = "TestResult")
        public List<InspectionItemsBean> getInspectionItems() {
            return inspectionItems;
        }

        public void setInspectionItems(List<InspectionItemsBean> inspectionItems) {
            this.inspectionItems = inspectionItems;
        }

        @XmlElement(name = "VisitOrganization")
        public String getOrgId() {
            return orgId;
        }

        public void setOrgId(String orgId) {
            this.orgId = orgId;
        }

        @XmlElement(name = "VisitOrganizationName")
        public String getHospitalName() {
            return hospitalName;
        }

        public void setHospitalName(String hospitalName) {
            this.hospitalName = hospitalName;
        }

        @XmlElement(name = "PatientType")
        public String getSource() {
            return source;
        }

        public void setSource(String source) {
            this.source = source;
        }

        @XmlElement(name = "Name")
        public String getPatientName() {
            return patientName;
        }

        public void setPatientName(String patientName) {
            this.patientName = patientName;
        }


        @XmlElement(name = "Sex")
        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }


        @XmlElement(name = "ReportId")
        public String getInspectId() {
            return inspectId;
        }

        public void setInspectId(String inspectId) {
            this.inspectId = inspectId;
        }

        @XmlElement(name = "LabOrderItemName")
        public String getInspectName() {
            return inspectName;
        }

        public void setInspectName(String inspectName) {
            this.inspectName = inspectName;
        }

        @XmlElement(name = "SampleTestTime")
        public String getInspectTime() {
            return inspectTime;
        }

        public void setInspectTime(String inspectTime) {
            this.inspectTime = inspectTime;
        }


        @XmlElement(name = "ReportDept")
        public String getDepartmentCode() {
            return departmentCode;
        }

        public void setDepartmentCode(String departmentCode) {
            this.departmentCode = departmentCode;
        }

        @XmlElement(name = "ReportDeptName")
        public String getDepartmentName() {
            return departmentName;
        }

        public void setDepartmentName(String departmentName) {
            this.departmentName = departmentName;
        }

        @XmlElement(name = "ReportResultStatus")
        public String getInspectStatus() {
            return inspectStatus;
        }

        public void setInspectStatus(String inspectStatus) {
            this.inspectStatus = inspectStatus;
        }

        @XmlElement(name = "ReportTime")
        public String getReportTime() {
            return reportTime;
        }

        public void setReportTime(String reportTime) {
            this.reportTime = reportTime;
        }


        @XmlElement(name = "ReportCheckTime")
        public String getExamTime() {
            return examTime;
        }

        public void setExamTime(String examTime) {
            this.examTime = examTime;
        }


        @XmlElement(name = "RequestDoctorCode")
        public String getDoctorCode() {
            return doctorCode;
        }

        public void setDoctorCode(String doctorCode) {
            this.doctorCode = doctorCode;
        }

        @XmlElement(name = "RequestDoctorName")
        public String getDoctorName() {
            return doctorName;
        }

        public void setDoctorName(String doctorName) {
            this.doctorName = doctorName;
        }


        @XmlElement(name = "ReportDept")
        public String getExecuteDepartmentCode() {
            return executeDepartmentCode;
        }

        public void setExecuteDepartmentCode(String executeDepartmentCode) {
            this.executeDepartmentCode = executeDepartmentCode;
        }

        @XmlElement(name = "ReportDeptName")
        public String getExecuteDepartmentName() {
            return executeDepartmentName;
        }

        public void setExecuteDepartmentName(String executeDepartmentName) {
            this.executeDepartmentName = executeDepartmentName;
        }


        @XmlElement(name = "ReportDoctor")
        public String getReporter() {
            return reporter;
        }

        public void setReporter(String reporter) {
            this.reporter = reporter;
        }

        @XmlElement(name = "ReportChecker")
        public String getAuditor() {
            return auditor;
        }

        public void setAuditor(String auditor) {
            this.auditor = auditor;
        }


        @XmlElement(name = "SampleTypeName")
        public String getSampleType() {
            return sampleType;
        }

        public void setSampleType(String sampleType) {
            this.sampleType = sampleType;
        }

        public static class InspectionItemsBean {
            private String itemName;
            private String result;
            private String refRange;
            private String resultUnit;
            private String abnormal;


            @XmlElement(name = "TestName")
            public String getItemName() {
                return this.itemName;
            }

            public void setItemName(String itemName) {
                this.itemName = itemName;
            }

            @XmlElement(name = "TestResult")
            public String getResult() {
                return this.result;
            }

            public void setResult(String result) {
                this.result = result;
            }

            @XmlElement(name = "ReferenceRange")
            public String getRefRange() {
                return this.refRange;
            }

            public void setRefRange(String refRange) {
                this.refRange = refRange;
            }

            @XmlElement(name = "ResultUnit")
            public String getResultUnit() {
                return this.resultUnit;
            }

            public void setResultUnit(String resultUnit) {
                this.resultUnit = resultUnit;
            }

            @XmlElement(name = "ResultHint")
            public String getAbnormal() {
                return this.abnormal;
            }

            public void setAbnormal(String abnormal) {
                this.abnormal = abnormal;
            }
        }

        public static class MicrobiologyReportsBean {
            private List<PlantResultsBean> plantResults;
            private List<AntiResultsBean> antiResults;

            public MicrobiologyReportsBean() {
            }

            public List<PlantResultsBean> getPlantResults() {
                return this.plantResults;
            }

            public void setPlantResults(List<PlantResultsBean> plantResults) {
                this.plantResults = plantResults;
            }

            public List<AntiResultsBean> getAntiResults() {
                return this.antiResults;
            }

            public void setAntiResults(List<AntiResultsBean> antiResults) {
                this.antiResults = antiResults;
            }

            public static class AntiResultsBean {
                private String bioNmae;
                private String bioQuantity;
                private String bioUnit;
                private String expertsPrompt;
                private List<AntiItemsBean> antiItems;

                public AntiResultsBean() {
                }

                public String getBioNmae() {
                    return this.bioNmae;
                }

                public void setBioNmae(String bioNmae) {
                    this.bioNmae = bioNmae;
                }

                public String getBioQuantity() {
                    return this.bioQuantity;
                }

                public void setBioQuantity(String bioQuantity) {
                    this.bioQuantity = bioQuantity;
                }

                public String getBioUnit() {
                    return this.bioUnit;
                }

                public void setBioUnit(String bioUnit) {
                    this.bioUnit = bioUnit;
                }

                public String getExpertsPrompt() {
                    return this.expertsPrompt;
                }

                public void setExpertsPrompt(String expertsPrompt) {
                    this.expertsPrompt = expertsPrompt;
                }

                public List<AntiItemsBean> getAntiItems() {
                    return this.antiItems;
                }

                public void setAntiItems(List<AntiItemsBean> antiItems) {
                    this.antiItems = antiItems;
                }

                public static class AntiItemsBean {
                    private String antiName;
                    private String antiMethod;
                    private String result;
                    private String resultUnit;
                    private String antiResult;

                    public AntiItemsBean() {
                    }

                    public String getAntiName() {
                        return this.antiName;
                    }

                    public void setAntiName(String antiName) {
                        this.antiName = antiName;
                    }

                    public String getAntiMethod() {
                        return this.antiMethod;
                    }

                    public void setAntiMethod(String antiMethod) {
                        this.antiMethod = antiMethod;
                    }

                    public String getResult() {
                        return this.result;
                    }

                    public void setResult(String result) {
                        this.result = result;
                    }

                    public String getResultUnit() {
                        return this.resultUnit;
                    }

                    public void setResultUnit(String resultUnit) {
                        this.resultUnit = resultUnit;
                    }

                    public String getAntiResult() {
                        return this.antiResult;
                    }

                    public void setAntiResult(String antiResult) {
                        this.antiResult = antiResult;
                    }
                }
            }

            public static class PlantResultsBean {
                private String plantResultNo;
                private String plantName;
                private String plantResult;
                private String resultType;

                public PlantResultsBean() {
                }

                public String getPlantResultNo() {
                    return this.plantResultNo;
                }

                public void setPlantResultNo(String plantResultNo) {
                    this.plantResultNo = plantResultNo;
                }

                public String getPlantName() {
                    return this.plantName;
                }

                public void setPlantName(String plantName) {
                    this.plantName = plantName;
                }

                public String getPlantResult() {
                    return this.plantResult;
                }

                public void setPlantResult(String plantResult) {
                    this.plantResult = plantResult;
                }

                public String getResultType() {
                    return this.resultType;
                }

                public void setResultType(String resultType) {
                    this.resultType = resultType;
                }
            }
        }
    }
}
